package com.four.service.impl;

import com.four.dao.AfterMapper;
import com.four.pojo.After;
import com.four.pojo.Member;
import com.four.pojo.MemberAfter;
import com.four.service.IAfterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author version v1.0
 * @ClassName：
 * @Description：
 **/
@Service("afterService")
public class AfterServiceImpl implements IAfterService {
    @Autowired
    @Qualifier("afterMapper")
    private AfterMapper afterMapper;
    @Override
    public int addAfter(After after) {
        return afterMapper.addAfter(after);
    }

    @Override
    public List<After> findAllAfter() {
        return afterMapper.findAllAfter();
    }

    @Override
    public List<MemberAfter> findAllAmember(String str) {
        return afterMapper.findAllAmember(str);
    }

    @Override
    public List<com.four.pojo.Service> findAllAservice() {
        return afterMapper.findAllAservice();
    }


    @Override
    public List<After> findByAfter(After after) {
        return afterMapper.findByAfter(after);
    }
}
